Skip to content

Comments

MULTIARCH-3965: Check if PER is enabled in the target PowerVS workspace#7683

Merged
openshift-merge-bot[bot] merged 2 commits intoopenshift:masterfrom
miyamotoh:check-if-per-enabled
Nov 12, 2023
Merged

MULTIARCH-3965: Check if PER is enabled in the target PowerVS workspace#7683
openshift-merge-bot[bot] merged 2 commits intoopenshift:masterfrom
miyamotoh:check-if-per-enabled

Conversation

@miyamotoh
Copy link
Contributor

Power Edge Router (aka. "PER") needs to be enabled in the target region to connect PowerVS to VPC, and thus is required for IPI to proceed. Hence this new validation check before doing anything substantial with Terraform.

Signed-off-by: Hiro Miyamoto miyamotoh@us.ibm.com

@openshift-merge-robot openshift-merge-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Nov 6, 2023
@miyamotoh miyamotoh force-pushed the check-if-per-enabled branch 2 times, most recently from 106c9ab to 7b81ab5 Compare November 6, 2023 21:53
@openshift-merge-robot openshift-merge-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Nov 6, 2023
@miyamotoh
Copy link
Contributor Author

/retest-required

@mjturek
Copy link
Contributor

mjturek commented Nov 6, 2023

Closes MULTIARCH-3965

@mjturek
Copy link
Contributor

mjturek commented Nov 6, 2023

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Nov 6, 2023
@hamzy
Copy link
Contributor

hamzy commented Nov 6, 2023

FYI and not a review, but fix the golint errors

@miyamotoh miyamotoh force-pushed the check-if-per-enabled branch from 7b81ab5 to 47286fe Compare November 7, 2023 19:24
@openshift-ci openshift-ci bot removed the lgtm Indicates that a PR is ready to be merged. label Nov 7, 2023
@miyamotoh
Copy link
Contributor Author

/retest-required

@miyamotoh miyamotoh force-pushed the check-if-per-enabled branch from 47286fe to 78148ac Compare November 7, 2023 22:29
@miyamotoh
Copy link
Contributor Author

/retest-required

2 similar comments
@miyamotoh
Copy link
Contributor Author

/retest-required

@miyamotoh
Copy link
Contributor Author

/retest-required

@miyamotoh miyamotoh force-pushed the check-if-per-enabled branch 2 times, most recently from 815d742 to ab43837 Compare November 8, 2023 21:56
@miyamotoh
Copy link
Contributor Author

/retest-required

1 similar comment
@miyamotoh
Copy link
Contributor Author

/retest-required

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also here? At least mention that it is in GetDatacenterCapabilities?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Addressed in the latest force-push. PTAL.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ServiceInstanceID is going away in my PR. Let's not introduce it again.

@mjturek
Copy link
Contributor

mjturek commented Nov 9, 2023

/retest-required

@miyamotoh miyamotoh force-pushed the check-if-per-enabled branch 4 times, most recently from 9740bca to ff28556 Compare November 9, 2023 17:54
@miyamotoh miyamotoh force-pushed the check-if-per-enabled branch from ff28556 to c9705ea Compare November 9, 2023 21:21
@miyamotoh
Copy link
Contributor Author

@r4f4 @mjturek could you please review and approve?

@r4f4
Copy link
Contributor

r4f4 commented Nov 9, 2023

/retest-required

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Doesn't need to be addressed in this PR, but maybe powervs can follow the pattern of the other platforms and use a ValidateForProvisioning function that encapsulates all the different validations needed.

Comment on lines 58 to 64
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could "power-edge-router" not show up in the set of capabilities? If so, maybe it's better to separate the error types (i.e. "capability not found" vs "capability not available")?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Addressed in the latest force-push. PTAL.

@miyamotoh miyamotoh force-pushed the check-if-per-enabled branch from c9705ea to e4287c9 Compare November 9, 2023 22:55
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For completeness, a test case where "power-edge-router" is not available.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Addressed in the latest force-push. PTAL.

@r4f4
Copy link
Contributor

r4f4 commented Nov 9, 2023

Jira issues are now required in all PRs.

Signed-off-by: Hiro Miyamoto <miyamotoh@us.ibm.com>
@miyamotoh miyamotoh force-pushed the check-if-per-enabled branch from e4287c9 to 196d7d2 Compare November 10, 2023 00:39
@miyamotoh miyamotoh changed the title Check if PER is enabled in the target PowerVS workspace MULTIARCH-3965: Check if PER is enabled in the target PowerVS workspace Nov 10, 2023
@openshift-ci-robot
Copy link
Contributor

openshift-ci-robot commented Nov 10, 2023

@miyamotoh: This pull request references MULTIARCH-3965 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.15.0" version, but no target version was set.

Details

In response to this:

Power Edge Router (aka. "PER") needs to be enabled in the target region to connect PowerVS to VPC, and thus is required for IPI to proceed. Hence this new validation check before doing anything substantial with Terraform.

Signed-off-by: Hiro Miyamoto miyamotoh@us.ibm.com

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Nov 10, 2023
Copy link
Contributor

@r4f4 r4f4 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/approve

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Nov 10, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: r4f4

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Nov 10, 2023
Copy link
Contributor

@r4f4 r4f4 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Nov 10, 2023
@mjturek
Copy link
Contributor

mjturek commented Nov 10, 2023

/lgtm

@mjturek
Copy link
Contributor

mjturek commented Nov 10, 2023

/retest-required

1 similar comment
@miyamotoh
Copy link
Contributor Author

/retest-required

@openshift-ci-robot
Copy link
Contributor

/retest-required

Remaining retests: 0 against base HEAD f60ebb0 and 2 for PR HEAD 196d7d2 in total

@miyamotoh
Copy link
Contributor Author

/retest-required

@miyamotoh
Copy link
Contributor Author

/test openstack-manifests

@mjturek
Copy link
Contributor

mjturek commented Nov 11, 2023

We cannot get openstack-manifests test to pass. Is there an outage with this test?

@r4f4
Copy link
Contributor

r4f4 commented Nov 12, 2023

We cannot get openstack-manifests test to pass. Is there an outage with this test?

Yes. See the fix at #7617

@openshift-ci-robot
Copy link
Contributor

/retest-required

Remaining retests: 0 against base HEAD 75bca37 and 1 for PR HEAD 196d7d2 in total

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Nov 12, 2023

@miyamotoh: all tests passed!

Full PR test history. Your PR dashboard.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. lgtm Indicates that a PR is ready to be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants